package com.bw.service.impl;

import com.bw.entity.PageResult;
import com.bw.entity.User;
import com.bw.entity.Word;
import com.bw.mapper.FinishMapper;
import com.bw.service.FinishService;
import com.github.pagehelper.Page;
import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FinishServiceImpl implements FinishService{

    @Autowired
    private FinishMapper finishMapper;

    @Override
    public int queryStudent(Map map) {
        return finishMapper.queryStudent(map);
    }

    @Override
    public List<User> queryStudentAll() {

        return finishMapper.queryStudentAll();
    }

    @Override
    public List<Word> queryWords(Map map) {
        return finishMapper.queryWords(map);
    }


}
